namespace System
{
    public static class GlobalEvent<TSender, TArgs> where TArgs : EventArgs
    {
        public static event EventHandler<TSender, TArgs> Event;
        public static void InvokeEvent(TSender Sender, TArgs Args)
        {
            var lv_Handlers = Event;
            if(lv_Handlers != null)
                lv_Handlers.Invoke(Sender, Args);
        }
    }
}